﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace BankService.ServiceInterface {

    [DataContract]
    public class TransferInput {

        string sessionId;
        int to;
        double amount;

        public TransferInput() { }

        public TransferInput(string sessionId, int to, double amount) {
            this.sessionId = sessionId;
            this.to = to;
            this.amount = amount;
        }

        [DataMember]
        public string SessionId {
            get { return this.sessionId; }
            set { this.sessionId = value; }
        }

        [DataMember]
        public int To {
            get { return this.to; }
            set { this.to = value; }
        }

        [DataMember]
        public double Amount {
            get { return this.amount; }
            set { this.amount = value; }
        }
    }
}
